<template>
  <div class="page page-home">
    page home
    <button @click="clickEvent">create-update</button>
  </div>
</template>

<script>
const {ipcRenderer} = global.require('electron')
export default {
  name: 'home',
  data () {
    return {}
  },
  methods: {
    clickEvent () {
      ipcRenderer.send('create-update')
    }
  }
}
</script>

<style scoped lang="less">
@import "~@/assets/css/_mixins.less";
@import "~@/assets/css/_color.less";
</style>
